from . import index_bp
import logging
from info import redis_store
from flask import session, render_template,current_app

# 使用蓝图


@index_bp.route("/")
def index():
    return render_template('index.html')

# 自定义视图函数，访问网站图标
@index_bp.route("/favicon.ico")
def favicon():
    return current_app.send_static_file('news/favicon.ico')
